taskErrorCode

Class: com.microstrategy.web.app.taglibs.taskproc.ErrorCodeTag

Usage:

This tag is used exclusively in the definition of a TASK ENVELOPE. When invoked it returns the error code generated by the Task. As such, it is typically only used in FAILURE envelopes. Without any attributes specified, the numeric error code is simply returned. The attributes can be used to format the error code in the envelope.

Name Required? Description
attrName false Specifies an XML attribute name to use when formatting the error code into an XML document. When specified, it will generate the following:
attrName="ERROR_CODE"
defaultValue false Specifies a default numeric value to be returned when there is no error code.
propName false Specifies a JSON property name to use when formatting the error code into a JSON expression. When specified, it will generate the following:
'propName': ERROR_CODE